singleselection: Fix model property
authorBenjamin Otte <otte@redhat.com>
Mon, 7 Oct 2019 04:36:25 +0000 (06:36 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 15 Oct 2019 05:17:07 +0000 (07:17 +0200)
commit9f5ee77a44ad08f96d0ffb82ab94bce14e531fad
tree126208c0af5dc05520f692c056b7bcfbf5aa7f31
parent6d20fe0bf9f00e01a5545a26fde3637edd262edc
singleselection: Fix model property

1. Make the model property construct-only. Allowing to change the
   model has invalid side effects.

2. Add a getter for the model property.
docs/reference/gtk/gtk4-sections.txt
gtk/gtksingleselection.c
gtk/gtksingleselection.h
testsuite/gtk/defaultvalue.c
testsuite/gtk/notify.c
testsuite/gtk/objects-finalize.c